// .image-ad-content .swiperBox .swiper-button-next,
// .image-ad-content .swiperBox .swiper-button-prev {
//   background-image: url();
// }

.image-ad-content .swiper-prev {
  left: 24px;
}

.image-ad-content .swiper-next {
  right: 24px;
}

.image-ad-content .swiper-button-next,
.image-ad-content .swiper-button-prev {
  position: absolute;
  top: 42%;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  line-height: 40px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  z-index: 10;
  cursor: pointer;
  background: rgba(53, 53, 53, 0.6);
}

.swiper-button-next,
.swiper-button-prev {
  display: none; /* 默认隐藏按钮 */
}

.swiper-container:hover .swiper-button-next,
.swiper-container:hover .swiper-button-prev {
  display: flex; /* 鼠标悬停时显示按钮 */
}

// .swiper-button-next,
// .swiper-button-prev {
//   visibility: hidden;
// }

// .swiper-container:hover .swiper-button-next,
// .swiper-container:hover .swiper-button-prev {
//   visibility: visible;
// }

// =============================================

// .swiper-button-prev:after {
//   content: "prev";
// }

// .swiper-button-next:after {
//   content: "next";
// }

.swiper-container {
  --swiper-navigation-color: #fff; /* 单独设置按钮颜色 */
  --swiper-navigation-size: 0px; /* 设置按钮大小 */
}

.swiper-button-next:after,
.swiper-button-prev:after {
  content: "";
}

.swiper-button-prev:before {
  transform: rotate(180deg);
}
